﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../style/css/layout.css" rel="stylesheet" type="text/css" />
<link href="../style/css/font.css" rel="stylesheet" type="text/css" />
<title>收件箱</title>
</head>

<body>
<?php
	session_start();
	$graduateId_Visited = 0;
	if(!isset($_SESSION["Graduate_Id"]) || $_SESSION["Graduate_Id"] == null)
	{
		/*非毕业生用户、未登录*/
		echo '<script>alert("请登录再进呐~~ ");window.location.href="../pages/login.php";</script>';
		exit();
	}
	else
	{
		$graduateId_Visited = (int)$_SESSION["Graduate_Id"];
	}
	require("../inc/top.php");
	include("../class/user.class.php");
	$class_user = new User();
?>

<div class="mainpage_contain">
	<div class="mainpage_nav">
    	<div class="mainpage_title"><?php echo $class_user->GetUserNameById($graduateId_Visited); ?>的个人主页</div>
        <div class="mainpage_tab_contain">
            <?php  include("inc/tabs.php"); ?>
        </div>
    </div>
    
    <div class="mainpage_body">
    	<div class="mainpage_left">
			<?php
				include("../class/inbox.class.php");
				$inbox = new Inbox();
				$str_html = $inbox->ShowMessageById($graduateId_Visited);
				echo $str_html;
			?>
			<div class="inbox_Recruitment_list_contain">
            	<div class="inbox_Recruitment_list_name">
                	<div class="left fc_cpn_names">联合利华公司</div>
                    <div class="left">&nbsp&nbsp向您发来招聘信息</div>
                    <div class="inbox_company_recruitment_check"><a href="Recruitment_detail.php?id_employMsg=1">查看详情</a> | 删除</div>
                </div>
                <div class="inbox_Recruitment_list_position">职位名称：<span class="fc333">信息传播分析师 (全职)</span></div>
                <div class="inbox_Recruitment_list_location">工作地点：<span class="fc333">北京</span></div>
                <div class="inbox_Recruitment_list_endtime">薪资待遇：<span class="fc333">RMB 3500/月</span></div>
       			<div class="clear"></div>
            </div>
        
        	<div class="inbox_Recruitment_list_contain">
            	<div class="inbox_Recruitment_list_name_checked">
					<div class="left fc_cpn_names">中国移动设计院北京分公司</div>
					<div class="left">&nbsp&nbsp向您发来招聘信息</div>
					<div class="inbox_company_recruitment_check"><a href="Recruitment_detail.php?id_employMsg=1">查看详情</a> | 删除</div>
				</div>
				<div class="inbox_Recruitment_list_position">职位名称：<span class="fc333">信息传播分析师 (全职)</span></div>
				<div class="inbox_Recruitment_list_location">工作地点：<span class="fc333">北京</span></div>
				<div class="inbox_Recruitment_list_endtime">薪资待遇：<span class="fc333">RMB 3500/月</span></div>
				<div class="clear"></div>
            </div>
		</div>
        
        <div class="mainpage_right">
			<div class="avatar_contain">
				<img src="../images/12974102173752464b.gif" width="200" height="200" />
				<div class="vip">
					<?php if($class_user->JudgeGraduateAttest($graduateId_Visited) == 1) echo '<img src="../images/v.png">';?>
				</div>
			</div>
            <div class="avatar_chg"></div>
        </div>
        <div class="clear"></div>
    </div>
</div>

<?php
	require("../inc/copyright.php");
?>
</body>
</html>